package 线程.day2.demo7;

public class Test {
    public static void main(String[] args) throws Exception{
        T t=new T();
        A a=new A();
        t.a=a;
        t.start();


        Thread.sleep(2000);
        a.exit=true;
        System.out.println("main....,exit="+a.exit);
    }
}
